package dao;

import entity.Rent;

import java.util.List;

public interface RentDao {
    List<Rent>findall() throws Exception;

    Rent findbycarNum(String carNum)throws Exception;

    int add(Rent rent)throws Exception;

    int update(Rent rent)throws Exception;

}
